package com.suray.type;

/**
 * 6代车状态
 */
public enum Rgv60Status {
    NONE(0, "无效"),
    INIT(1, "初始化"),
    STANDY(2, "就绪"),
    STOP(3, "暂停"),
    RUNNING(4, "运行"),
    SON_RGV_RUNNING(5, "子车运行"),
    SON_RGV_WAITING(6, "子车待命"),
    WAITING(7, "等待执行中"),
    ERROR(0xFE, "故障"),
    OFF_LINE(0xFF, "离线"),
    ;

    private int value;
    private String des;

    Rgv60Status(int value, String des) {
        this.value = value;
        this.des = des;
    }

    public int getValue() {
        return value;
    }

    @Override
    public String toString() {
        return des;
    }
}
